package com.css.fxfzypg.modules.saresults.repository;

import com.css.fxfzypg.base.response.RestResponse;
import com.css.fxfzypg.modules.saresults.entity.*;
import com.css.fxfzypg.modules.saresults.param.DrillHoleQueryParam;
import com.css.fxfzypg.modules.saresults.vo.DrillHoleQueryVo;
import com.css.fxfzypg.modules.saresults.vo.MapVo;

import java.util.HashMap;
import java.util.List;

public interface DrillHoleQueryRepository {
    HashMap<String,Object> queryData(DrillHoleQueryParam param, int page, int size,List<String> roleList,String geom);

    List<MapVo> queryMapData(DrillHoleQueryParam param, List<String> roleList);

    String queryMaxCode();

    void saveHlByJcsj(DzqhykzsfglzxtDrillEntity it);

    List<DzqhApCruxLayerPfEntity> getPfEntityById(String id);

    DzqhApCruxScEntity getScEntityByNumber(String boreholeNumber,String projectId);

    List<DzqhApCruxSdEntity> getSdListByNumber(String boreholeNumber,String projectId);

    DzqhApCruxDhEntity getDhListByCode(String number,String projectId);

    List<DrillHoleQueryVo> getData(DrillHoleQueryParam param);

    List<DzqhApCruxLayerPfEntity> getPfEntityByProjectId(String id);

    DzqhApCruxScEntity getScEntityByProjectId(String projectId, String boreholeNumber);

    List<DzqhApCruxSdEntity> getSdListByProjectId(String projectId, String boreholeNumber);

    DzqhApCruxDhEntity getDhListByProjectId(String stNumber, String projectId);

    List<MapVo>  getByGeom(DrillHoleQueryParam param,List<String> roleList,String geom);

    HashMap<String,Object>  getListByGeom(String geom,int page, int size,List<String> roleList);
}
